<template>
  <div class="courier">
    <div class="courier-item" v-for="item in title" :key="item">
      <span>{{ item }}</span>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: Array,
      default() {
        return []
      }
    }
  }
};
</script>

<style lang="scss" scoped>
.courier {
  display: flex;
  height: 36px;
  line-height: 36px;
  color: #666666;
  margin: 10px 0;
  .courier-item {
    flex: 1;
    text-align: center;
    span {
      position: relative;
      &::before {
        content: "";
        display: block;
        position: absolute;
        left: -10px;
        top: 3px;
        width: 5px;
        height: 5px;
        border: 1px solid #f00;
        border-radius: 50%;
        // background: url('@/assets/img/new-goods/ic_menu_sort_pressed.png') no-repeat 0 0;
      }
    }
  }
}
</style>